package com.lagou.edu.utils;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Description:
 * @Author: zhoushiduo
 * @Date: 2020/11/29 22:55
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface Transactional {
    /**
     * 是否自动提交事务
     * @return
     */
    boolean value() default true;
}
